package com.car.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_yearcheck")
public class YearCheck implements Serializable {
    @TableId("yearCheckId")
    private Integer yearCheckId;
    @TableField("carIdCard")
    private String carIdCard;
    @TableField("initMile")
    private Double initMile;
    @TableField("initOil")
    private Double initOil;
    @TableField("place")
    private String place;
    @TableField(exist = false)
    private User user;
    @TableField("userId")
    private Integer userId;
    @TableField("yearCheckStart")
    private String yearCheckStart;
    @TableField("yearCheckEnd")
    private String yearCheckEnd;
    @TableField("returnOil")
    private Double returnOil;
    @TableField("returnMile")
    private Double returnMile;
    @TableField("money")
    private Integer money;
    @TableField("remark")
    private String remark;
    @TableField("nextYearCheck")
    private String nextYearCheck;
    @TableField("state")
    private int state;
}
